package com.nyist.zk.service;

import com.nyist.zk.entities.Admin;

import java.util.List;

public interface AdminService {

    boolean getAdminByIdAndPassword(Integer a_id,String a_password);

    List<Admin> findAllAdmin();

    Admin findByIdAdmin(Integer a_id);

    void insertAdmin(Admin admin);

    void deleteByIdAdmin(Integer a_id);

    void updateAdmin(Admin admin);
}
